import request from '@/utils/request.js'
//根据班级查询考试信息
export const findClassroomByClassId=(classId)=>{
    return request.post('/sysExam/fselectAll',classId)
}
//根据考试信息查询是否可以考试
export const findClassroomByClassId01=(classId)=>{
    return request.get('/sysExam/findAllExamResults/' + classId)
}
//查询所在班级
export const xueshichaban=(userid)=>{
    return request.get('/sysExam/xueshichaban/'+userid)
}
//查询是否考过
export const chanjia=(uid,lid)=>{
    return request.get('/sysExamResults/kaoshi/'+uid+"/"+lid)
}
export const deleteExamInfo=(examid)=>{
    return request.get('/sysExam/deleteExam/'+examid)
}